//
//  DetailCell.m
//  detail
//
//  Created by lanou3g on 15/7/18.
//  Copyright (c) 2015年 NB三人行. All rights reserved.
//

#import "DetailCell.h"
#import "detail.h"
@implementation DetailCell


//自定义初始化detailCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
     
    if (self) {
        //布局控件
        //stepImage
        self.stepImage = [[UIImageView alloc] initWithFrame:CGRectMake(5, 20, 120, 120)];
        self.stepImage.backgroundColor = [UIColor greenColor];
        [self addSubview:self.stepImage];
        self.stepImage.image = [UIImage imageNamed:@"12"];
        
        //stepDetailLabel
        self.stepDetailLabel = [[UILabel alloc] initWithFrame:CGRectMake(130, 5, 250, 150)];
//        self.stepDetailLabel.backgroundColor = [UIColor greenColor];
        [self addSubview:self.stepDetailLabel];

    }

    return self;
}






- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
